package com.intellagric.service.iftmonitor.ift_scene;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.iftmonitor.SceneVo;
import com.intellagric.pojo.IftScene;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/23
 * @DESC： 场景信息管理服务接口
 */
public interface SceneService {
    
    //增加设备
    ResponseMessage addScene(IftScene scene);

    //删除设备
    ResponseMessage deleteScene(String id);

    //修改设备
    ResponseMessage editScene(IftScene scene);

    //查询设备
    IftScene getSceneById(String id);
    LayuiDataGridResult getSceneByVo(SceneVo sceneVo);
    LayuiDataGridResult getSceneList();
    LayuiDataGridResult getSceneTreeByUser(String user);
    LayuiDataGridResult getSceneTree();
    LayuiDataGridResult getScenePage(int page, int rows);

}
